/*
 * @Author: zhangweixin 
 * @Date: 2018-11-13 22:53:05 
 * @Last Modified by: zhangweixin
 * @Last Modified time: 2018-12-07 18:07:23
 */
import counter from '../reducers/counterReducers';
import userInfo from '../reducers/userInfoReducers';
import orderList from '../reducers/orderListReducers'

export default function combineReducers(state = {}, action) {
  return {
      counter: counter(state.counter, action),
      userInfo: userInfo(state.userInfo,action),
      orderList:orderList(state.orderList,action)
  }
}

// import {combineReducers} from "redux";

// import counter from 'reducers/counter';
// import userInfo from 'reducers/userInfo';


// export default combineReducers({
//     counter,
//     userInfo
// });